package com.jic.finance.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.finance.entity.CurrencyManage;
import com.jic.finance.request.manager.CurrencyManageRequest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 币种管理
 * @author : 
 * @email : 
 * @since : 2020-02-29 07:09:46
 * @version : v1.0.0
 */
@Mapper
public interface  CurrencyManageMapper {

    long insert(CurrencyManage manage);

    long delete(Long id);

    long update(@Param("currencyManageRequest") CurrencyManageRequest currencyManageRequest);

    CurrencyManage queryByPrimaryKey(Long id);

    List<CurrencyManage> query(CurrencyManage currencyManage);

    List<CurrencyManage> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("currencyManageRequest") CurrencyManageRequest currencyManageRequest);

    long queryPageCount( @Param("currencyManageRequest") CurrencyManageRequest currencyManageRequest);
}